<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <script src="../build/react.development.js"></script>
    <script src="../build/react-dom.development.js"></script>
    <script src="../build/babel.min.js"></script>
    <title>2_原生事件绑定</title>
  </head>
  <body>
      <script type="text/javascript">
        function demo(){
          console.log(this);
        }
        demo()
        const x = demo.bind({a:1,b:2})
         x()
      </script>
  </body>
</html>